export default function (path: string) {
    const isExtendedLengthPath = /^\\\\\?\\/.test(path);
    if (isExtendedLengthPath) {
      return path;
    }
  
    return path.replace(/\\/g, '/');
  }